package com.aaa.system.controller.api;

import com.aaa.security.annotation.MyLog;
import com.aaa.system.service.PersonalCenterService;
import com.aaa.vo.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 崔灿
 * @Date 2023/02/27 19:49
 * @ClassName ApiPersonalCenterController
 * @Description
 * @Version 1.0
 */

@Api(value = "/system/api/personalcenter", tags = {"api用户中心"})
@RestController
@RequestMapping("/system/api/personalcenter")
public class ApiPersonalCenterController {
    @Autowired
    private PersonalCenterService peisonalCenter;

    /**
     * #Description getSession
     * @param
     * @return
     * @author 崔灿
     * #Date
     */
    @ApiOperation(value = "#Description getSession #Date", notes = "#Description getSession #Date", httpMethod = "GET")
    @MyLog(title="getSession")
    @GetMapping("/getSession")
    public Result getSession(){
        return peisonalCenter.getSession();
    }
}
